package Thread;

import java.util.Random;

/**
 * @Author czl
 * @Date 2024-03-18
 */
public class Runnable implements java.lang.Runnable {

    @Override
    public void run() {
        Random random = new Random();
        int randomNumber = random.nextInt(256); // 生成0到255的随机数
        System.out.println("随机数是: " + randomNumber + "是蓝");
    }
}
